<template>
	<view>
		<view class="item">
			职位名称
			<input type="text" value="" placeholder="请输入" />
		</view>
		<view class="item" style="align-items: flex-start;">
			简介
			<textarea style="padding: 30rpx 0;width: 500rpx;height: 200rpx;" placeholder="请输入"></textarea>
		</view>
		<view style="border-top: #e3e3e3 1rpx solid;padding-top: 20rpx; width: 100%;position: absolute;bottom: 20rpx;">
			<button @click="baocun" type="default"
				style="background-color: #007AFF;color: #fff;border-radius: 20rpx;width: 90%;">保存</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			baocun() {
				// 调用部门添加接口

				// 成功回调
				uni.navigateBack()
			}
		}
	}
</script>

<style>
	.item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: end;
		padding-right: 30rpx;
		margin-left: 30rpx;
		line-height: 100rpx;
		border-bottom: #d4d4d4 1rpx solid;
	}
</style>
